package com.woniu.cloud.storeassembly.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.cloud.common.dto.Result;
import com.woniu.cloud.entity.TStoreServiceMiddle;
import com.woniu.cloud.form.TStoreServiceUpdateMiddle;

/**
 * <p>
 * 店铺服务中间表  服务类
 * </p>
 *
 * @author Lucas
 * @since 2021-09-22
 */
public interface ITStoreServiceMiddleService extends IService<TStoreServiceMiddle> {

    Result getStoreServiceMiddleListByStoreId(Integer storeId);

    Result updateStoreServiceMiddleStatusByStoreServiceMiddleId(Integer storeServiceMiddleId,Integer status);

    Result InsertStoreServiceMiddle(TStoreServiceMiddle serviceMiddle);

    Result updateStoreServiceMiddleById(TStoreServiceUpdateMiddle storeServiceUpdateMiddle);

    TStoreServiceMiddle getStoreServiceMiddleById(Integer id);
}
